bring back See You support (#1280)
authortsteven4 <13596209+tsteven4@users.noreply.github.com>
Sat, 14 Sep 2024 04:48:49 +0000 (22:48 -0600)
committerGitHub <noreply@github.com>
Sat, 14 Sep 2024 04:48:49 +0000 (23:48 -0500)
I think someone was waiting for me to say no. Sometimes, "good enough" (for users with no representation here...) seems to be.
Co-authored-by: Robert Lipe <robertlipe@users.noreply.github.com>
gpsbabel.qrc
reference/format0.txt
reference/format1.txt
reference/format2.txt
reference/format3.txt
reference/help.txt
style/cup.style [new file with mode: 0644]
xmldoc/formats/cup.xml [new file with mode: 0644]

index fa17fff4f8d463e316871ab9c8bb8c5c9be5c164..6e0a4fc9da16ea1390eb2d37af38e95c2f93053a 100644 (file)
@@ -2,6 +2,7 @@
     <qresource prefix="/">
         <file>style/arc.style</file>
         <file>style/csv.style</file>
+        <file>style/cup.style</file>
         <file>style/custom.style</file>
         <file>style/garmin301.style</file>
         <file>style/garmin_g1000.style</file>
index 8019ce1c63136ec2b2fbda0058b5f478f8c1dc57..6ee4b2eb59a5a2604a4ad0693dd3f1d3eb4ffc28 100644 (file)
@@ -44,6 +44,7 @@ nmea          NMEA 0183 sentences
 osm    osm     OpenStreetMap data files
 ozi            OziExplorer
 qstarz_bl-1000         Qstarz BL-1000
+cup    cup     See You flight analysis data
 skytraq                SkyTraq Venus based loggers (download)
 skytraq-bin    bin     SkyTraq Venus based loggers Binary File Format
 subrip srt     SubRip subtitles for video mapping (.srt)
index 72f9843ca1ca393d3c718a35588b14e9025889ed..03dd842ca90a38fdec6432f2b0ac4b3a3ecb24f8 100644 (file)
@@ -50,6 +50,7 @@ file  nmea            NMEA 0183 sentences
 file   osm     osm     OpenStreetMap data files
 file   ozi             OziExplorer
 file   qstarz_bl-1000          Qstarz BL-1000
+file   cup     cup     See You flight analysis data
 serial skytraq         SkyTraq Venus based loggers (download)
 file   skytraq-bin     bin     SkyTraq Venus based loggers Binary File Format
 file   subrip  srt     SubRip subtitles for video mapping (.srt)
index 0054e5347acdb9273985810196ab9780a3657a99..f680f6e6eb3a5108207043397a42414552e3cf97 100644 (file)
@@ -50,6 +50,7 @@ file  rwrw--  nmea            NMEA 0183 sentences
 file   rw-wrw  osm     osm     OpenStreetMap data files
 file   rwrwrw  ozi             OziExplorer
 file   r-r---  qstarz_bl-1000          Qstarz BL-1000
+file   rw----  cup     cup     See You flight analysis data
 serial r-r---  skytraq         SkyTraq Venus based loggers (download)
 file   r-r---  skytraq-bin     bin     SkyTraq Venus based loggers Binary File Format
 file   ---w--  subrip  srt     SubRip subtitles for video mapping (.srt)
index e647cda7f21d8f4f5488518cea8e115f365fab16..217be656f5f499d4c8d94b47dc817785591ddd78 100644 (file)
@@ -656,6 +656,24 @@ option     ozi     codec   codec to use for reading and writing strings (default windows-1
 
 file   r-r---  qstarz_bl-1000          Qstarz BL-1000  qstarz_bl-1000
        https://www.gpsbabel.org/WEB_DOC_DIR/fmt_qstarz_bl-1000.html
+file   rw----  cup     cup     See You flight analysis data    xcsv
+       https://www.gpsbabel.org/WEB_DOC_DIR/fmt_cup.html
+option cup     snlen   Max synthesized shortname length        integer         1               https://www.gpsbabel.org/WEB_DOC_DIR/fmt_cup.html#fmt_cup_o_snlen
+
+option cup     snwhite Allow whitespace synth. shortnames      boolean                         https://www.gpsbabel.org/WEB_DOC_DIR/fmt_cup.html#fmt_cup_o_snwhite
+
+option cup     snupper UPPERCASE synth. shortnames     boolean                         https://www.gpsbabel.org/WEB_DOC_DIR/fmt_cup.html#fmt_cup_o_snupper
+
+option cup     snunique        Make synth. shortnames unique   boolean                         https://www.gpsbabel.org/WEB_DOC_DIR/fmt_cup.html#fmt_cup_o_snunique
+
+option cup     urlbase Basename prepended to URL on output     string                          https://www.gpsbabel.org/WEB_DOC_DIR/fmt_cup.html#fmt_cup_o_urlbase
+
+option cup     prefer_shortnames       Use shortname instead of description    boolean                         https://www.gpsbabel.org/WEB_DOC_DIR/fmt_cup.html#fmt_cup_o_prefer_shortnames
+
+option cup     datum   GPS datum (def. WGS 84) string                          https://www.gpsbabel.org/WEB_DOC_DIR/fmt_cup.html#fmt_cup_o_datum
+
+option cup     utc     Write timestamps with offset x to UTC time      integer         -14     +14     https://www.gpsbabel.org/WEB_DOC_DIR/fmt_cup.html#fmt_cup_o_utc
+
 serial r-r---  skytraq         SkyTraq Venus based loggers (download)  skytraq
        https://www.gpsbabel.org/WEB_DOC_DIR/fmt_skytraq.html
 option skytraq erase   Erase device data after download        boolean 0                       https://www.gpsbabel.org/WEB_DOC_DIR/fmt_skytraq.html#fmt_skytraq_o_erase
index 8a6f24c5e5ae09c34a5fbe7a6a424cb1f74a80a5..99a933530b5066a94848cc72c3c7153dad724f21 100644 (file)
@@ -323,6 +323,15 @@ File Types (-i and -o options):
          proxunit              Unit used in proximity values
          codec                 codec to use for reading and writing strings (defa
        qstarz_bl-1000        Qstarz BL-1000
+       cup                   See You flight analysis data
+         snlen                 Max synthesized shortname length
+         snwhite               (0/1) Allow whitespace synth. shortnames
+         snupper               (0/1) UPPERCASE synth. shortnames
+         snunique              (0/1) Make synth. shortnames unique
+         urlbase               Basename prepended to URL on output
+         prefer_shortnames     (0/1) Use shortname instead of description
+         datum                 GPS datum (def. WGS 84)
+         utc                   Write timestamps with offset x to UTC time
        skytraq               SkyTraq Venus based loggers (download)
          erase                 (0/1) Erase device data after download
          targetlocation        Set location finder target location as lat,lng
diff --git a/style/cup.style b/style/cup.style
new file mode 100644 (file)
index 0000000..2803b76
--- /dev/null
@@ -0,0 +1,46 @@
+#
+# (c) 2006, Robert Lipe, based on  sample files by Krzysztof Wojtas
+# Reference info: http://www.seeyou.ws/thankyou.php?fname=cup_format.pdf
+# Reference info: http://download.naviter.com/docs/cup_format.pdf
+# Reference info: http://www.keepitsoaring.com/LKSC/Downloads/cup_format.pdf
+#
+
+DESCRIPTION      See You flight analysis data
+SHORTLEN  8
+EXTENSION cup
+#
+#
+# FILE LAYOUT DEFINITIIONS:
+#
+FIELD_DELIMITER         COMMA
+RECORD_DELIMITER        NEWLINE
+BADCHARS                ,"
+PROLOGUE name,code,country,lat,lon,elev,style,rwdir,rwlen,freq,desc
+EPILOGUE -----Related Tasks-----
+
+
+IFIELD IGNORE,"", ""%s""
+IFIELD SHORTNAME,"", "%s"
+IFIELD CONSTANT,"", ""
+IFIELD LAT_DDMMDIR, "%f", "%08.3f", "absolute"
+IFIELD LON_DDMMDIR, "%f", "%09.3f", "absolute"
+IFIELD ALT_METERS,"", "%dm"
+IFIELD CONSTANT,"", "1"
+IFIELD CONSTANT,"", ""
+IFIELD CONSTANT,"", ""
+IFIELD CONSTANT,"", ""
+IFIELD DESCRIPTION,"", ""%s""
+
+OFIELD SHORTNAME,"", ""%s""
+OFIELD SHORTNAME,"", "%s"
+OFIELD CONSTANT,"", ""
+OFIELD LAT_DDMMDIR, "", "%08.3f%c"
+OFIELD LON_DDMMDIR, "", "%09.3f%c"
+OFIELD ALT_METERS,"", "%3.1fm"
+OFIELD CONSTANT,"", "1"
+OFIELD CONSTANT,"", ""
+OFIELD CONSTANT,"", ""
+OFIELD CONSTANT,"", ""
+OFIELD DESCRIPTION,"", ""%s""
+
+
diff --git a/xmldoc/formats/cup.xml b/xmldoc/formats/cup.xml
new file mode 100644 (file)
index 0000000..39e5bf5
--- /dev/null
@@ -0,0 +1,14 @@
+<para>
+  This format supports flight analysis data from the
+<link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="https://naviter.com/seeyou-makes-you-a-better-pilot/">See You</link>
+  program.
+</para>
+<para>
+  Position information is preserved, but the aviation-specific
+  information such as runway length and airport frequency, are
+  written as blanks and ignored on read.
+</para>
+<para>
+  Tasks are not supported.
+</para>
+